import Layout from '@/layout/index'

export default [
  {
    path: '/customerCenter',
    name: 'customerCenter',
    component: Layout,
    meta: { title: '客户中心', icon: 'menu-csmCenter', menuId: 1, showIndex: 1 },
    children: [
      {
        path: 'phoneOrder',
        name: 'phoneOrder',
        component: () => import('@/views/customerCenter/phoneOrder/index'),
        meta: { title: '话务下单', menuId: 10201, showIndex: 1 }
      },
      {
        path: 'callAnalysis',
        name: 'callAnalysis',
        component: () => import('@/views/customerCenter/callAnalysis/index'),
        meta: { title: '话务通话分析', menuId: 10301, showIndex: 2 }
      },
      {
        path: 'callOrder',
        name: 'callOrder',
        component: () => import('@/views/customerCenter/callOrder/index'),
        meta: { title: '话务订单分析', menuId: 10302, showIndex: 2 }
      },
      {
        path: 'callAnalysisNew.vue',
        name: 'callAnalysisNew.vue',
        component: () => import('@/views/customerCenter/callAnalysisNew.vue/index'),
        meta: { title: '话务通话分析(新)', menuId: 10303, showIndex: 2 }
      },
      {
        path: 'callSearch',
        name: 'callSearch',
        component: () => import('@/views/customerCenter/callSearch/index'),
        meta: { title: '通话查询', menuId: 10209, showIndex: 3 }
      },
      {
        path: 'customerManage',
        name: 'customerManage',
        component: () => import('@/views/customerCenter/customerManage/index'),
        meta: { title: '客户管理', menuId: 10101, showIndex: 4 }
      },
      {
        path: 'pickUpCustomer',
        name: 'pickUpCustomer',
        component: () => import('@/views/customerCenter/pickUpCustomer/index'),
        meta: { title: '自提客户', menuId: 10108, showIndex: 5 }
      },
      {
        path: 'storeOrder',
        name: 'storeOrder',
        component: () => import('@/views/customerCenter/storeOrder/index'),
        meta: { title: '门店下单', menuId: 10202, showIndex: 6 }
      },
      {
        path: 'depositManage',
        name: 'depositManage',
        component: () => import('@/views/customerCenter/depositManage/index'),
        meta: { title: '押金管理', menuId: 10102, showIndex: 7 }
      },
      {
        path: 'policyManage',
        name: 'policyManage',
        component: () => import('@/views/customerCenter/policyManage/index'),
        meta: { title: '保单管理', menuId: 10103, showIndex: 8 }
      },
      {
        path: 'rentManage',
        name: 'rentManage',
        component: () => import('@/views/customerCenter/rentManage/index'),
        meta: { title: '欠瓶管理', menuId: 10112, showIndex: 9 }
      },
      {
        path: 'contractManage',
        name: 'contractManage',
        component: () => import('@/views/customerCenter/contractManage/index'),
        meta: { title: '合同管理', menuId: 10116, showIndex: 10 }
      },
      {
        path: 'scoreHandle',
        name: 'scoreHandle',
        component: () => import('@/views/customerCenter/scoreHandle/index'),
        meta: { title: '积分异常处理', menuId: 10111, showIndex: 11 }
      },
      {
        path: 'evaluateManage',
        name: 'evaluateManage',
        component: () => import('@/views/customerCenter/evaluateManage/index'),
        meta: { title: '评价管理', menuId: 10210, showIndex: 12 }
      },
      {
        path: 'orderReceipt',
        name: 'orderReceipt',
        component: () => import('@/views/customerCenter/orderReceipt/index'),
        meta: { title: '订单回执', menuId: 10212, showIndex: 13 }
      },
      {
        path: 'lostCsmWarning',
        name: 'lostCsmWarning',
        component: () => import('@/views/customerCenter/lostCsmWarning/index'),
        meta: { title: '流失客户预警', menuId: 40207, showIndex: 14 }
      }
    ]
  }
]
